/**
 * Copyright(c) 2013 Jade Techonologies Co., Ltd.
 *
 * History:
 *   13-7-11 下午2:56 Created by sky
 */
package com.jade.modules.message.sms.bestone;

import com.jade.modules.message.sms.comm.SmsResponse;

/**
 * 数据响应包。
 *
 * @author sky
 * @version 1.0 13-7-11 下午2:56
 */
public class SubmitResp
        extends SmsResponse
{
    protected int status;
    protected String messageId;

    public SubmitResp()
    {
        super(BestoneConstants.CMD_SUBMIT_RESP);
    }

    public SubmitResp(int sequenceId)
    {
        super(BestoneConstants.CMD_SUBMIT_RESP, sequenceId);
    }

    public String getMessageId()
    {
        return messageId;
    }

    public void setMessageId(String messageId)
    {
        this.messageId = messageId;
    }

    @Override
    public boolean isOK()
    {
        return status == 1;
    }
}
